package com.woyou.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * 订单详情
 * 
 * @author shenzhou 2015年1月17日
 */
@SuppressWarnings("serial")
public class OrderDetail extends SuperBean {

	private String oId; // 订单编号
	private String sId; // 店铺编号
	private String sName; // 店铺名称
	/**
	 * 订单状态(1:新订单；2:推送成功；3:未接通；4:接通后未应答；5:拒绝；6:返单；7:已确认；8:已取消；9:已送出；10.已送达，11.
	 * 已评价,12.自动完成(说明),13.申请取消中)
	 **/
	private int state;

	private ArrayList<OrderStateLog> orderStateLog; // 订单状态日志列表

	public ArrayList<OrderStateLog> getOrderStateLog() {
		return orderStateLog;
	}

	public void setOrderStateLog(ArrayList<OrderStateLog> orderStateLog) {
		this.orderStateLog = orderStateLog;
	}

	public Long getInvalidTime() {
		return invalidTime;
	}

	public void setInvalidTime(Long invalidTime) {
		this.invalidTime = invalidTime;
	}

	private Long invalidTime; // 订单未支付失效时间
	private int payType; // 支付类型 (1.在线支付 2.货到付款)
	private int cancelType; // 是否发出过取消订单申请 1：是 2：否
	private long acceptTime;

	public long getAcceptTime() {
		return acceptTime;
	}

	public void setAcceptTime(long acceptTime) {
		this.acceptTime = acceptTime;
	}

	private String deliverFee; // 配送费
	private String mealsBoxSum; // 餐盒费
	private String pCoupon; // 平台优惠金额
	private String sCoupon; // 店铺优惠金额
	private List<OrderGoodsItem> goodsList; // 商品列表
	private String totalPrice; // 订单总价
	private String contact; // 联系人名称
	private int sex; // 性别2:男1:女
	private String uPhone; // 用户手机号
	private String deliverAddr; // 送达地址
	private String selectedTime; // 送餐时间
	private String remarks; // 备注
	private String sPhone; // 商家联系电话
	private List<Gift> actyList; // 选择的赠品列表
	private Comment comment;

	public String getoId() {
		return oId;
	}

	public void setoId(String oId) {
		this.oId = oId;
	}

	public String getsId() {
		return sId;
	}

	public void setsId(String sId) {
		this.sId = sId;
	}

	public String getsName() {
		return sName;
	}

	public void setsName(String sName) {
		this.sName = sName;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public int getPayType() {
		return payType;
	}

	public void setPayType(int payType) {
		this.payType = payType;
	}

	public String getDeliverFee() {
		return deliverFee;
	}

	public void setDeliverFee(String deliverFee) {
		this.deliverFee = deliverFee;
	}

	public String getMealsBoxSum() {
		return mealsBoxSum;
	}

	public void setMealsBoxSum(String mealsBoxSum) {
		this.mealsBoxSum = mealsBoxSum;
	}

	public String getpCoupon() {
		return pCoupon;
	}

	public void setpCoupon(String pCoupon) {
		this.pCoupon = pCoupon;
	}

	public String getsCoupon() {
		return sCoupon;
	}

	public void setsCoupon(String sCoupon) {
		this.sCoupon = sCoupon;
	}

	public List<OrderGoodsItem> getGoodsList() {
		return goodsList;
	}

	public void setGoodsList(List<OrderGoodsItem> goodsList) {
		this.goodsList = goodsList;
	}

	public String getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(String totalPrice) {
		this.totalPrice = totalPrice;
	}

	public String getContact() {
		return contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}

	public String getuPhone() {
		return uPhone;
	}

	public void setuPhone(String uPhone) {
		this.uPhone = uPhone;
	}

	public String getDeliverAddr() {
		return deliverAddr;
	}

	public void setDeliverAddr(String deliverAddr) {
		this.deliverAddr = deliverAddr;
	}

	public String getSelectedTime() {
		return selectedTime;
	}

	public void setSelectedTime(String selectedTime) {
		this.selectedTime = selectedTime;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getsPhone() {
		return sPhone;
	}

	public void setsPhone(String sPhone) {
		this.sPhone = sPhone;
	}

	public List<Gift> getActyList() {
		return actyList;
	}

	public void setActyList(List<Gift> actyList) {
		this.actyList = actyList;
	}

	public Comment getComment() {
		return comment;
	}

	public void setComment(Comment comment) {
		this.comment = comment;
	}

	public int getCancelType() {
		return cancelType;
	}

	public void setCancelType(int cancelType) {
		this.cancelType = cancelType;
	}

}
